package cn.iocoder.yudao.module.enterprise.dal.mysql.organization;

import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
import cn.iocoder.yudao.module.enterprise.dal.dataobject.organization.OrganizationDO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 组织基本信息 Mapper
 *
 * @author 芋道源码
 */
@Mapper
public interface OrganizationMapper extends BaseMapperX<OrganizationDO> {

    default OrganizationDO selectByPlanId(Long planId) {
        return selectOne(OrganizationDO::getPlanId, planId);
    }

}
